import request from '@/config/axios'
import type {UserType} from './types'


export const loginApi = (data: UserType): Promise<IResponse<UserType>> => {
    return request.post({url: 'index/login', data})
}


export const wechatLogin = (data) => {
    return request.post({url: 'index/qiye-login', data})
}


